df43f431591da7a41994dca102ac179a918100e5,src/main/java/com/github/reinert/jjschema/JsonSchemaGenerator.java,JsonSchemaGenerator,generatePropertySchema,#Class#Method#Field#,286

Before Change


    }

    protected <T> ObjectNode generatePropertySchema(Class<T> type, Method method, Field field) {
        Class<?> returnType = method.getReturnType();
        AccessibleObject propertyReflection = field != null ? field : method;

        SchemaIgnore ignoreAnn = propertyReflection.getAnnotation(SchemaIgnore.class);

After Change


    }

    protected <T> ObjectNode generatePropertySchema(Class<T> type, Method method, Field field) throws TypeException {
        Class<?> returnType = method != null ? method.getReturnType() : field.getType();
        
        AccessibleObject propertyReflection = field != null ? field : method;